package bishi.day30_5_28;
import java.util.*;
/**
 * @author 是阿秋啊
 * @date 2022/05/29 14:31
 **/
public class password {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(sc.hasNext()) {
            String str = sc.nextLine();
            char[] ch = str.toCharArray();
            for(int i = 0; i < str.length();i++) {
                char c = ch[i];
                if(c == ' ') {
                    continue;
                }
                if (c > 'E') {
                    ch[i] = (char)(c - 5);
                }else {
                    ch[i] = (char) (91 + ((int)c - 65 - 5));
                }
            }
            StringBuilder sb = new StringBuilder(String.valueOf(ch));
            System.out.println(sb);
        }
    }
}